﻿@model IEnumerable<Biblioteca.Models.EstadoReserva>

@{
    ViewBag.Title = "Estado de Reservas";
}

<h2>Administracion de Estados de Reservas</h2>
<table>
    <tr>
        <th>
            Descripcion
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Descripcion)
        </td>
        <td>
            @Html.ActionLink("Editar", "Edit", new { id = item.IdEstado }, new { @class = "button gray small" }) 
            @Html.ActionLink("Detalle", "Details", new { id = item.IdEstado }, new { @class = "button gray small" }) 
            @Html.ActionLink("Eliminar", "Delete", new { id = item.IdEstado }, new { @class = "button gray small" })

        </td>
    </tr>
}
<tr>
<li> @Html.ActionLink("Nuevo", "Create", new { }, new { @class = "button green small" })<br />    </li>
    
</tr>
</table>
